package visitor;

public class VisitManager implements Visitor{
    @Override
    public void visit(Park park) {
        System.out.println("manager park");
    }

    @Override
    public void visit(ParkA parkA) {
        System.out.println("manager park A");
    }

    @Override
    public void visit(ParkB parkB) {
        System.out.println("manager park B");
    }
}
